//
//  InvoiceCellI.m
//  Hxcsfw
//
//  Created by 企友软mac on 2018/1/11.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import "InvoiceCellI.h"

@implementation InvoiceCellI

- (void)awakeFromNib {
    [super awakeFromNib];

    _btnCleanCard.clipsToBounds = YES;
    _btnInvocie.clipsToBounds = YES;
    _btnPrint.clipsToBounds = YES;
    _btnOther.clipsToBounds = YES;

    _btnCleanCard.layer.borderWidth = 0.5;
    _btnInvocie.layer.borderWidth = 0.5;
    _btnPrint.layer.borderWidth = 0.5;
    _btnOther.layer.borderWidth = 0.5;

    _btnCleanCard.layer.cornerRadius = 6;
    _btnInvocie.layer.cornerRadius = 6;
    _btnPrint.layer.cornerRadius = 6;
    _btnOther.layer.cornerRadius = 6;

    _btnCleanCard.layer.borderColor = WRGBColor(215, 215, 215).CGColor;
    _btnInvocie.layer.borderColor = WRGBColor(215, 215, 215).CGColor;
    _btnPrint.layer.borderColor = WRGBColor(215, 215, 215).CGColor;
    _btnOther.layer.borderColor = WRGBColor(215, 215, 215).CGColor;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnClick:(UIButton *)sender {

    if (self.delegate && [self.delegate respondsToSelector:@selector(delegateCellIBtnClick:)]){
        [self.delegate delegateCellIBtnClick:sender];
    }
}

@end
